package com.jiangjiang.eshop.membership.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName UserAccountEntity
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/21 12:04
 * @Version 1.0
 **/
@Data
@TableName("membership_user_account")
public class UserAccountEntity {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 用户名
     */
    @TableField("user_name")
    private String username;
    /**
     * 密码
     */
    @TableField("password")
    private String password;
    /**
     * 邮箱
     */
    @TableField("email")
    private String email;
    /**
     * 手机号码
     */
    @TableField("cell_phone_number")
    private String cellPhoneNumber;
    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified",fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
